<?php

namespace common\models\business;

use Yii;

/**
 * This is the model class for table "test".
 *
 * @property string $id
 * @property string $name
 * @property string $type
 * @property string $description
 * @property string $category_id
 */
class Test extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'test';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['name', 'type', 'description', 'category_id'], 'string', 'max' => 255],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'name' => 'Name',
            'type' => 'Type',
            'description' => 'Description',
            'category_id' => 'Category ID',
        ];
    }
}
